package top.continew.admin.generator.model.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 转派链条响应
 */
@Data
@Schema(description = "转派链条响应")
public class TransferChainResp {

    /**
     * 转派记录ID
     */
    @Schema(description = "转派记录ID", example = "1")
    private Long id;

    /**
     * 转派人姓名
     */
    @Schema(description = "转派人姓名", example = "张三")
    private String fromUserName;

    /**
     * 接收人姓名
     */
    @Schema(description = "接收人姓名", example = "李四")
    private String toUserName;

    /**
     * 转派原因
     */
    @Schema(description = "转派原因", example = "工作调整")
    private String transferReason;

    /**
     * 转派状态：1-待处理，2-已接受，3-已退回
     */
    @Schema(description = "转派状态", example = "2")
    private Integer transferStatus;

    /**
     * 退回原因
     */
    @Schema(description = "退回原因", example = "当前无法处理")
    private String rejectReason;

    /**
     * 转派时间
     */
    @Schema(description = "转派时间", example = "2023-08-08 08:08:08")
    private LocalDateTime transferTime;

    /**
     * 处理时间
     */
    @Schema(description = "处理时间", example = "2023-08-08 09:08:08")
    private LocalDateTime handleTime;

    /**
     * 附件链接
     */
    @Schema(description = "附件链接")
    private String attachmentUrls;
}